openldap.git
7 years agoMerge openldap (2.4.46+dfsg-5) import into refs/heads/workingbranch
Ryan Tandy [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
Merge openldap (2.4.46+dfsg-5) import into refs/heads/workingbranch

7 years agoset-maintainer-name
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
set-maintainer-name

Gbp-Pq: Name set-maintainer-name

7 years agoITS6035-olcauthzregex-needs-restart
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
ITS6035-olcauthzregex-needs-restart

Gbp-Pq: Name ITS6035-olcauthzregex-needs-restart.patch

7 years agono-bdb-ABI-second-guessing
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
no-bdb-ABI-second-guessing

Gbp-Pq: Name no-bdb-ABI-second-guessing

7 years agoSwitch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all...
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.

Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff

7 years agono-AM_INIT_AUTOMAKE
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
no-AM_INIT_AUTOMAKE

Gbp-Pq: Name no-AM_INIT_AUTOMAKE

7 years agofix-build-top-mk
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
fix-build-top-mk

Gbp-Pq: Name fix-build-top-mk

7 years agoadd-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
add-tlscacert-option-to-ldap-conf

Gbp-Pq: Name add-tlscacert-option-to-ldap-conf

7 years agoldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
ldap-conf-tls-cacertdir

Gbp-Pq: Name ldap-conf-tls-cacertdir

7 years agopw-sha2-makefile
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
pw-sha2-makefile

Gbp-Pq: Name pw-sha2-makefile

7 years agolastbind-makefile-manpage
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
lastbind-makefile-manpage

Gbp-Pq: Name lastbind-makefile-manpage

7 years agolastbind-makefile
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
lastbind-makefile

Gbp-Pq: Name lastbind-makefile

7 years agoautogroup-makefile
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
autogroup-makefile

Gbp-Pq: Name autogroup-makefile

7 years agocontrib/smbk5pwd: add man page, install it too
Peter Marschall [Sun, 26 Jul 2015 13:04:26 +0000 (15:04 +0200)]
contrib/smbk5pwd: add man page, install it too

Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page.

This patch is derived from the corresponding patch upstreamed in ITS#8205

Gbp-Pq: Name smbk5pwd-makefile-manpage

7 years agosmbk5pwd-makefile
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
smbk5pwd-makefile

Gbp-Pq: Name smbk5pwd-makefile

7 years agocontrib-modules-use-dpkg-buildflags
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
contrib-modules-use-dpkg-buildflags

Gbp-Pq: Name contrib-modules-use-dpkg-buildflags

7 years agodo-not-second-guess-sonames
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
do-not-second-guess-sonames

Rip out code that second-guesses the libsasl soname / Debian shlibs.  If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!

Debian bug #546885

Upstream ITS #6302 filed.

Gbp-Pq: Name do-not-second-guess-sonames

7 years agogetaddrinfo-is-threadsafe
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
getaddrinfo-is-threadsafe

OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex.  This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.

Closes Debian bug #340601.

Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.

Gbp-Pq: Name getaddrinfo-is-threadsafe

7 years agolibldap-symbol-versions
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
libldap-symbol-versions

Add symbol versioning to the public LDAP libraries.  This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.

Not yet contributed upstream.

Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.

Gbp-Pq: Name libldap-symbol-versions

7 years agosasl-default-path
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
sasl-default-path

Add /etc/ldap/sasl2 to the SASL configuration search path.

Not submitted upstream.  Somewhat Debian-specific and probably not of
interest upstream.

Gbp-Pq: Name sasl-default-path

7 years agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
index-files-created-as-root

Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).

Not suitable for upstream in this form.  This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.

Upstream ITS #5356 filed requesting better handling of this.  Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.

Gbp-Pq: Name index-files-created-as-root

7 years agowrong-database-location
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
wrong-database-location

Move the default slapd database location to /var/lib/ldap instead of
/var/openldap-data.

Debian-specific.

Gbp-Pq: Name wrong-database-location

7 years agoldapi-socket-place
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
ldapi-socket-place

Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
is only writable by root and slapd runs as openldap.

Debian-specific.

Gbp-Pq: Name ldapi-socket-place

7 years agoslapi-errorlog-file
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
slapi-errorlog-file

The slapi error log file defaults to /var/errors given our setting
of --localstatedir.  Move it to /var/log/slapi-errors instead.

Debian-specific.

Gbp-Pq: Name slapi-errorlog-file

7 years agoevolution-ntlm
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
evolution-ntlm

Patch from evolution-exchange (2.10.3).  The ldap_ntlm_bind function is
actually called by evolution-data-server, checked at version 1.12.2.
Without this patch, the Exchange addressbook integration uses simple binds
with cleartext passwords.

Russ checked with openldap-software for upstream's opinion on this patch
on 2007-12-21.  Upstream had never received it as a patch submission and
given that it's apparently only for older Exchange servers that can't do
SASL and DIGEST-MD5, it's not very appealing.

Bug#457374 filed against evolution-data-server asking if this support is
still required on 2007-12-21.

Gbp-Pq: Name evolution-ntlm

7 years agoman-slapd
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
man-slapd

Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.

Debian-specific.

Gbp-Pq: Name man-slapd

7 years agoopenldap (2.4.46+dfsg-5) unstable; urgency=medium
Ryan Tandy [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
openldap (2.4.46+dfsg-5) unstable; urgency=medium

  * Restore slapd-smbk5pwd now that libldap is installable in unstable.
    This reverts the changes from -3 and -4.

[dgit import unpatched openldap 2.4.46+dfsg-5]

7 years agoImport openldap_2.4.46+dfsg-5.debian.tar.xz
Ryan Tandy [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
Import openldap_2.4.46+dfsg-5.debian.tar.xz

[dgit import tarball openldap 2.4.46+dfsg-5 openldap_2.4.46+dfsg-5.debian.tar.xz]

7 years agoImport openldap_2.4.46+dfsg.orig.tar.gz
Ryan Tandy [Thu, 3 May 2018 14:03:30 +0000 (15:03 +0100)]
Import openldap_2.4.46+dfsg.orig.tar.gz

[dgit import orig openldap_2.4.46+dfsg.orig.tar.gz]

8 years agoMerge openldap (2.4.45+dfsg-1) import into refs/heads/workingbranch
Ryan Tandy [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
Merge openldap (2.4.45+dfsg-1) import into refs/heads/workingbranch

8 years agoITS#8650 retry gnutls_handshake after GNUTLS_E_AGAIN
Ryan Tandy [Sat, 6 May 2017 22:50:13 +0000 (22:50 +0000)]
ITS#8650 retry gnutls_handshake after GNUTLS_E_AGAIN

Gbp-Pq: Name ITS8650-retry-gnutls_handshake-after-GNUTLS_E_AGAIN.patch

8 years agoset-maintainer-name
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
set-maintainer-name

Gbp-Pq: Name set-maintainer-name

8 years agoITS6035-olcauthzregex-needs-restart
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
ITS6035-olcauthzregex-needs-restart

Gbp-Pq: Name ITS6035-olcauthzregex-needs-restart.patch

8 years agono-bdb-ABI-second-guessing
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
no-bdb-ABI-second-guessing

Gbp-Pq: Name no-bdb-ABI-second-guessing

8 years agoSwitch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all...
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.

Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff

8 years agono-AM_INIT_AUTOMAKE
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
no-AM_INIT_AUTOMAKE

Gbp-Pq: Name no-AM_INIT_AUTOMAKE

8 years agofix-build-top-mk
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
fix-build-top-mk

Gbp-Pq: Name fix-build-top-mk

8 years agoadd-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
add-tlscacert-option-to-ldap-conf

Gbp-Pq: Name add-tlscacert-option-to-ldap-conf

8 years agoldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
ldap-conf-tls-cacertdir

Gbp-Pq: Name ldap-conf-tls-cacertdir

8 years agopw-sha2-makefile
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
pw-sha2-makefile

Gbp-Pq: Name pw-sha2-makefile

8 years agolastbind-makefile-manpage
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
lastbind-makefile-manpage

Gbp-Pq: Name lastbind-makefile-manpage

8 years agolastbind-makefile
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
lastbind-makefile

Gbp-Pq: Name lastbind-makefile

8 years agoautogroup-makefile
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
autogroup-makefile

Gbp-Pq: Name autogroup-makefile

8 years agocontrib/smbk5pwd: add man page, install it too
Peter Marschall [Sun, 26 Jul 2015 13:04:26 +0000 (15:04 +0200)]
contrib/smbk5pwd: add man page, install it too

Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page.

This patch is derived from the corresponding patch upstreamed in ITS#8205

Gbp-Pq: Name smbk5pwd-makefile-manpage

8 years agosmbk5pwd-makefile
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
smbk5pwd-makefile

Gbp-Pq: Name smbk5pwd-makefile

8 years agocontrib-modules-use-dpkg-buildflags
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
contrib-modules-use-dpkg-buildflags

Gbp-Pq: Name contrib-modules-use-dpkg-buildflags

8 years agodo-not-second-guess-sonames
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
do-not-second-guess-sonames

Rip out code that second-guesses the libsasl soname / Debian shlibs.  If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!

Debian bug #546885

Upstream ITS #6302 filed.

Gbp-Pq: Name do-not-second-guess-sonames

8 years agogetaddrinfo-is-threadsafe
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
getaddrinfo-is-threadsafe

OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex.  This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.

Closes Debian bug #340601.

Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.

Gbp-Pq: Name getaddrinfo-is-threadsafe

8 years agolibldap-symbol-versions
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
libldap-symbol-versions

Add symbol versioning to the public LDAP libraries.  This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.

Not yet contributed upstream.

Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.

Gbp-Pq: Name libldap-symbol-versions

8 years agosasl-default-path
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
sasl-default-path

Add /etc/ldap/sasl2 to the SASL configuration search path.

Not submitted upstream.  Somewhat Debian-specific and probably not of
interest upstream.

Gbp-Pq: Name sasl-default-path

8 years agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
index-files-created-as-root

Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).

Not suitable for upstream in this form.  This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.

Upstream ITS #5356 filed requesting better handling of this.  Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.

Gbp-Pq: Name index-files-created-as-root

8 years agowrong-database-location
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
wrong-database-location

Move the default slapd database location to /var/lib/ldap instead of
/var/openldap-data.

Debian-specific.

Gbp-Pq: Name wrong-database-location

8 years agoldapi-socket-place
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
ldapi-socket-place

Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
is only writable by root and slapd runs as openldap.

Debian-specific.

Gbp-Pq: Name ldapi-socket-place

8 years agoslapi-errorlog-file
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
slapi-errorlog-file

The slapi error log file defaults to /var/errors given our setting
of --localstatedir.  Move it to /var/log/slapi-errors instead.

Debian-specific.

Gbp-Pq: Name slapi-errorlog-file

8 years agoevolution-ntlm
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
evolution-ntlm

Patch from evolution-exchange (2.10.3).  The ldap_ntlm_bind function is
actually called by evolution-data-server, checked at version 1.12.2.
Without this patch, the Exchange addressbook integration uses simple binds
with cleartext passwords.

Russ checked with openldap-software for upstream's opinion on this patch
on 2007-12-21.  Upstream had never received it as a patch submission and
given that it's apparently only for older Exchange servers that can't do
SASL and DIGEST-MD5, it's not very appealing.

Bug#457374 filed against evolution-data-server asking if this support is
still required on 2007-12-21.

Gbp-Pq: Name evolution-ntlm

8 years agoman-slapd
Debian OpenLDAP Maintainers [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
man-slapd

Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.

Debian-specific.

Gbp-Pq: Name man-slapd

8 years agoopenldap (2.4.45+dfsg-1) unstable; urgency=medium
Ryan Tandy [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
openldap (2.4.45+dfsg-1) unstable; urgency=medium

  * New upstream release.
    - fixed a use-after-free in GnuTLS options handling
      (ITS#8385) (Closes: #820244) (LP: #1557248)
    - fixed unsafe concurrent SASL calls causing memory corruption
      (ITS#8648) (Closes: #860947) (LP: #1688575)
    - fixed syncrepl infinite looping with multi-master delta-syncrepl
      (ITS#8432) (Closes: #868753)
  * Rebase patches to apply cleanly:
    - do-not-second-guess-sonames
    - no-AM_INIT_AUTOMAKE
  * Drop patches applied upstream:
    - ITS-8554-kFreeBSD-is-like-BSD.patch
    - ITS-8644-wait-for-slapd-to-start-in-test064.patch
    - ITS-8655-paged-results-double-free.patch
  * Upgrade to debhelper compat level 10.
    - Depend on debhelper 10.
    - Stop enabling parallel and autoreconf explicitly. They are now enabled
      by default.
    - Drop dh-autoreconf from build-depends since debhelper requires it.
  * Add -Wno-format-extra-args to CFLAGS to reduce the noise in the build
    logs, as this warning is emitted on each use of the Debug() macro.
  * Drop libldap-2.4-4-dbg and slapd-dbg binary packages in favour of
    automatic dbgsym packages.
  * Update Standards-Version to 4.0.0; no changes required.
  * Drop Priority and Section from binary package stanzas when they only
    duplicate information from the source stanza.
  * Update Priority of slapd-smbk5pwd and libldap2-dev to optional to match
    the archive.
  * Remove retired developer, Roland Bauerschmidt, from Uploaders.
    (Closes: #856422)
  * Remove Timo Aaltonen from Uploaders, with his agreement.
  * debian/patches/ITS8650-retry-gnutls_handshake-after-GNUTLS_E_AGAIN.patch:
    If gnutls_handshake() returns EAGAIN, call it again. Fixes TLS handshake
    failures when the ServerHello message exceeds 16K.
    (ITS#8650) (Closes: #861838)
  * Drop time from Build-Depends. The upstream testsuite no longer calls it.

[dgit import unpatched openldap 2.4.45+dfsg-1]

8 years agoImport openldap_2.4.45+dfsg.orig.tar.gz
Ryan Tandy [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
Import openldap_2.4.45+dfsg.orig.tar.gz

[dgit import orig openldap_2.4.45+dfsg.orig.tar.gz]

8 years agoImport openldap_2.4.45+dfsg-1.debian.tar.xz
Ryan Tandy [Fri, 28 Jul 2017 01:04:41 +0000 (02:04 +0100)]
Import openldap_2.4.45+dfsg-1.debian.tar.xz

[dgit import tarball openldap 2.4.45+dfsg-1 openldap_2.4.45+dfsg-1.debian.tar.xz]

8 years agoMerge openldap (2.4.44+dfsg-8) import into refs/heads/workingbranch
Ryan Tandy [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
Merge openldap (2.4.44+dfsg-8) import into refs/heads/workingbranch

8 years agoITS#8655 fix double free on paged search with pagesize 0
Ryan Tandy [Thu, 18 May 2017 03:07:39 +0000 (20:07 -0700)]
ITS#8655 fix double free on paged search with pagesize 0

Fixes a double free when a search includes the Paged Results control
with a page size of 0 and the search base matches the filter.

Gbp-Pq: Name ITS-8655-paged-results-double-free.patch

8 years agoITS#8644 wait for slapd to start in test064
Ryan Tandy [Tue, 25 Apr 2017 01:28:25 +0000 (01:28 +0000)]
ITS#8644 wait for slapd to start in test064

Gbp-Pq: Name ITS-8644-wait-for-slapd-to-start-in-test064.patch

8 years agoITS#8554 kFreeBSD is like BSD
Howard Chu [Wed, 28 Dec 2016 18:32:14 +0000 (18:32 +0000)]
ITS#8554 kFreeBSD is like BSD

Doesn't have POSIX robust mutexes - GNU userland on BSD kernel

Gbp-Pq: Name ITS-8554-kFreeBSD-is-like-BSD.patch

8 years agoset-maintainer-name
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
set-maintainer-name

Gbp-Pq: Name set-maintainer-name

8 years agoITS6035-olcauthzregex-needs-restart
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
ITS6035-olcauthzregex-needs-restart

Gbp-Pq: Name ITS6035-olcauthzregex-needs-restart.patch

8 years agono-bdb-ABI-second-guessing
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
no-bdb-ABI-second-guessing

Gbp-Pq: Name no-bdb-ABI-second-guessing

8 years agoSwitch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all...
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.

Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff

8 years agono-AM_INIT_AUTOMAKE
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
no-AM_INIT_AUTOMAKE

Gbp-Pq: Name no-AM_INIT_AUTOMAKE

8 years agofix-build-top-mk
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
fix-build-top-mk

Gbp-Pq: Name fix-build-top-mk

8 years agoadd-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
add-tlscacert-option-to-ldap-conf

Gbp-Pq: Name add-tlscacert-option-to-ldap-conf

8 years agoldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
ldap-conf-tls-cacertdir

Gbp-Pq: Name ldap-conf-tls-cacertdir

8 years agopw-sha2-makefile
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
pw-sha2-makefile

Gbp-Pq: Name pw-sha2-makefile

8 years agolastbind-makefile-manpage
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
lastbind-makefile-manpage

Gbp-Pq: Name lastbind-makefile-manpage

8 years agolastbind-makefile
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
lastbind-makefile

Gbp-Pq: Name lastbind-makefile

8 years agoautogroup-makefile
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
autogroup-makefile

Gbp-Pq: Name autogroup-makefile

8 years agocontrib/smbk5pwd: add man page, install it too
Peter Marschall [Sun, 26 Jul 2015 13:04:26 +0000 (15:04 +0200)]
contrib/smbk5pwd: add man page, install it too

Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page.

This patch is derived from the corresponding patch upstreamed in ITS#8205

Gbp-Pq: Name smbk5pwd-makefile-manpage

8 years agosmbk5pwd-makefile
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
smbk5pwd-makefile

Gbp-Pq: Name smbk5pwd-makefile

8 years agocontrib-modules-use-dpkg-buildflags
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
contrib-modules-use-dpkg-buildflags

Gbp-Pq: Name contrib-modules-use-dpkg-buildflags

8 years agodo-not-second-guess-sonames
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
do-not-second-guess-sonames

Rip out code that second-guesses the libsasl soname / Debian shlibs.  If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!

Debian bug #546885

Upstream ITS #6302 filed.

Gbp-Pq: Name do-not-second-guess-sonames

8 years agogetaddrinfo-is-threadsafe
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
getaddrinfo-is-threadsafe

OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex.  This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.

Closes Debian bug #340601.

Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.

Gbp-Pq: Name getaddrinfo-is-threadsafe

8 years agolibldap-symbol-versions
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
libldap-symbol-versions

Add symbol versioning to the public LDAP libraries.  This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.

Not yet contributed upstream.

Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.

Gbp-Pq: Name libldap-symbol-versions

8 years agosasl-default-path
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
sasl-default-path

Add /etc/ldap/sasl2 to the SASL configuration search path.

Not submitted upstream.  Somewhat Debian-specific and probably not of
interest upstream.

Gbp-Pq: Name sasl-default-path

8 years agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
index-files-created-as-root

Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).

Not suitable for upstream in this form.  This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.

Upstream ITS #5356 filed requesting better handling of this.  Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.

Gbp-Pq: Name index-files-created-as-root

8 years agowrong-database-location
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
wrong-database-location

Move the default slapd database location to /var/lib/ldap instead of
/var/openldap-data.

Debian-specific.

Gbp-Pq: Name wrong-database-location

8 years agoldapi-socket-place
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
ldapi-socket-place

Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
is only writable by root and slapd runs as openldap.

Debian-specific.

Gbp-Pq: Name ldapi-socket-place

8 years agoslapi-errorlog-file
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
slapi-errorlog-file

The slapi error log file defaults to /var/errors given our setting
of --localstatedir.  Move it to /var/log/slapi-errors instead.

Debian-specific.

Gbp-Pq: Name slapi-errorlog-file

8 years agoevolution-ntlm
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
evolution-ntlm

Patch from evolution-exchange (2.10.3).  The ldap_ntlm_bind function is
actually called by evolution-data-server, checked at version 1.12.2.
Without this patch, the Exchange addressbook integration uses simple binds
with cleartext passwords.

Russ checked with openldap-software for upstream's opinion on this patch
on 2007-12-21.  Upstream had never received it as a patch submission and
given that it's apparently only for older Exchange servers that can't do
SASL and DIGEST-MD5, it's not very appealing.

Bug#457374 filed against evolution-data-server asking if this support is
still required on 2007-12-21.

Gbp-Pq: Name evolution-ntlm

8 years agoman-slapd
Debian OpenLDAP Maintainers [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
man-slapd

Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.

Debian-specific.

Gbp-Pq: Name man-slapd

8 years agoopenldap (2.4.44+dfsg-8) unstable; urgency=medium
Ryan Tandy [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
openldap (2.4.44+dfsg-8) unstable; urgency=medium

  * Disable test060-mt-hot on ppc64el temporarily to avoid failing tests until
    the underlying kernel bug #866122 is fixed.
  * Fix FTBFS with Heimdal 7.2.0: Drop patch heimdal-fix as the
    hdb_generate_key_set_password change was reverted in heimdal. Depend on an
    appropriate minimum version of heimdal.

[dgit import unpatched openldap 2.4.44+dfsg-8]

8 years agoImport openldap_2.4.44+dfsg-8.debian.tar.xz
Ryan Tandy [Sun, 16 Jul 2017 19:57:41 +0000 (20:57 +0100)]
Import openldap_2.4.44+dfsg-8.debian.tar.xz

[dgit import tarball openldap 2.4.44+dfsg-8 openldap_2.4.44+dfsg-8.debian.tar.xz]

8 years agoMerge openldap (2.4.44+dfsg-7) import into refs/heads/workingbranch
Ryan Tandy [Wed, 28 Jun 2017 01:53:12 +0000 (02:53 +0100)]
Merge openldap (2.4.44+dfsg-7) import into refs/heads/workingbranch

8 years agoITS#8655 fix double free on paged search with pagesize 0
Ryan Tandy [Thu, 18 May 2017 03:07:39 +0000 (20:07 -0700)]
ITS#8655 fix double free on paged search with pagesize 0

Fixes a double free when a search includes the Paged Results control
with a page size of 0 and the search base matches the filter.

Gbp-Pq: Name ITS-8655-paged-results-double-free.patch

8 years agoITS#8644 wait for slapd to start in test064
Ryan Tandy [Tue, 25 Apr 2017 01:28:25 +0000 (01:28 +0000)]
ITS#8644 wait for slapd to start in test064

Gbp-Pq: Name ITS-8644-wait-for-slapd-to-start-in-test064.patch

8 years agoITS#8554 kFreeBSD is like BSD
Howard Chu [Wed, 28 Dec 2016 18:32:14 +0000 (18:32 +0000)]
ITS#8554 kFreeBSD is like BSD

Doesn't have POSIX robust mutexes - GNU userland on BSD kernel

Gbp-Pq: Name ITS-8554-kFreeBSD-is-like-BSD.patch

8 years agoset-maintainer-name
Debian OpenLDAP Maintainers [Wed, 28 Jun 2017 01:53:12 +0000 (02:53 +0100)]
set-maintainer-name

Gbp-Pq: Name set-maintainer-name

8 years agoITS6035-olcauthzregex-needs-restart
Debian OpenLDAP Maintainers [Wed, 28 Jun 2017 01:53:12 +0000 (02:53 +0100)]
ITS6035-olcauthzregex-needs-restart

Gbp-Pq: Name ITS6035-olcauthzregex-needs-restart.patch

8 years agoheimdal-fix
Debian OpenLDAP Maintainers [Wed, 28 Jun 2017 01:53:12 +0000 (02:53 +0100)]
heimdal-fix

Gbp-Pq: Name heimdal-fix

8 years agono-bdb-ABI-second-guessing
Debian OpenLDAP Maintainers [Wed, 28 Jun 2017 01:53:12 +0000 (02:53 +0100)]
no-bdb-ABI-second-guessing

Gbp-Pq: Name no-bdb-ABI-second-guessing

8 years agoSwitch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all...
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.

Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff

8 years agono-AM_INIT_AUTOMAKE
Debian OpenLDAP Maintainers [Wed, 28 Jun 2017 01:53:12 +0000 (02:53 +0100)]
no-AM_INIT_AUTOMAKE

Gbp-Pq: Name no-AM_INIT_AUTOMAKE